package com.lc.YYGH.model.message;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "咨询信息")
@TableName("consult")
public class Consult {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "医生编号")
    @TableField("depcode")
    private String depcode;

    @ApiModelProperty(value = "医生姓名")
    @TableField("depname")
    private String depname;


    @ApiModelProperty(value = "用户id")
    @TableField("userid")
    private String userId;

    @ApiModelProperty(value = "用户姓名")
    @TableField("username")
    private String username;

    @ApiModelProperty(value = "咨询")
    @TableField("question")
    private String question;

    @ApiModelProperty(value = "回复")
    @TableField("answer")
    private String answer;
}
